package com.haocean.project.controller;

import com.haocean.project.model.dto.CustomerPage;
import com.haocean.project.model.dto.Page;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.io.IOException;
import java.util.HashMap;
import java.util.Map;

@RestController
@RequestMapping("/api/customer")
public class CustomerController {

    @GetMapping("/list")
    public Page list(CustomerPage page) throws IOException {
        return null;
    }
}
